<!--测试指令-->

<div class="demo-modal" class="approve">
	<div class="modal-header">
		<h4 class="modal-title" id="modal-title">
			批准放款
			<i class="icon icon-guanbi2" ng-click="cancel()"></i>
		</h4>
	</div>
	<div class="modal-body addAdmin approveContent">
		<div class="approveItem">
			<div>申请信息：</div>
			<div>
				金额：
				<span>{{approveData.apply_money | toRMB}}<span>，
				银行卡号：
				<span>{{approveData.payee}}</span>
				<span> {{approveData.account}}</span>
				<span> {{approveData.bank}}</span>
			</div>
		</div>
		<div class="approveItem">
			<div>放款金额：</div>
			<div class="qian">{{approveData.loan_amount | toRMB}}</div>
			<div class="gongshi">公式：放款金额=借款金额-首期扣款（首月利息费-GPS/停车费费用-中介费-保证金）</div>
		</div>
		<div class="approveItem">
			<div>首期扣款：：</div>
			<table border="" cellspacing="" cellpadding="" class="approveContent-table">
				<thead>
					<tr>
						<th>首月利息</th>
						<th>首月GPS费</th>
						<th>中介费</th>
						<th>考察费</th>
						<th>其它费用</th>
						<th>合计</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>{{approveData.interest*approveData.apply_money/100 | toRMB}}</td>
						<td>{{approveData.gps_fee*approveData.apply_money/100 | toRMB}}</td>
						<td>{{approveData.hand_fee_real | toRMB}}</td>
						<td>{{approveData.investigate_fee | toRMB}}</td>
						<td>{{approveData.other_fee | toRMB}}</td>
						<td>
							{{
								approveData.interest*approveData.apply_money/100+
								approveData.gps_fee*approveData.apply_money/100+
								approveData.hand_fee_real+
								approveData.investigate_fee+
								approveData.other_fee | toRMB
							}}
						</td>
					</tr>
				</tbody>
			</table>
		</div>
		<div class="approveItem">
			<div>放款日期：</div>
			<div>
			   <ui-datepicker error-tis="" placeholder="开始时间" ng-model="param1.credit_time" ng-class="{'error':credit_time}">
			   	
			   </ui-datepicker>
			</div>
		</div>
		<div class="approveItem">
			<div>放款备注：</div>
			<div>
				<textarea name="" rows="" cols="" ng-model="param1.credit_remark"></textarea>
			</div>
		</div>
		<div class="approveItem">
			<div>放款附件：</div>
			<div>
				<div class="approveItem-img">
					<button class="btn btn-radius btn-sct" data-tag="ueloadImg" ng-disabled="!uploads.attach_id" name="imgInput" >
						浏览本地
					</button>
				</div>
				<div>
					<i class="icon icon-info"></i>
                    <span>允许上传多张图片，格式为jpg、png格式，大小不超过5M</span>
				</div>
			</div>
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-primary" type="button" ng-click="tiJiao1()">确定提交</button>
		<!--<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>-->
	</div>
</div>